import { createApp } from 'vue'
import App from './App.vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import '@element-plus/icons-vue'
import router from '../src/router/router.js';
import { createPinia } from "pinia";
import { createPersistedState } from "pinia-persistedstate-plugin";

const pinia = createPinia();
const persistedState = createPersistedState();
pinia.use(persistedState);

createApp(App).use(router).use(ElementPlus).use(pinia).mount("#app");

